package com.xdjmall.entity;

import java.math.BigDecimal;
import java.time.LocalDate;

//商品
public class Goods {
    //商品表主键id
    private Integer goodsId;
    //商品名
    private String goodsName;
    //商品简介
    private String goodsIntro;
    //关联分类id
    private Integer categoryId;
    //商品主图
    private String goodsCoverImg;
    //商品轮播图
    private String goodsCarousel;
    //商品详情
    private String goodsDetailContent;
    //商品价格
    private BigDecimal originalPrice;
    //商品实际售价
    private BigDecimal sellingPrice;
    //商品库存数量
    private Integer stockNum;
    //商品标签
    private String tag;
    //商品上架状态 0-下架 1-上架
    private Integer goodsSellStatus;
    //添加者主键id
    private Integer createUser;
    //商品添加时间
    private LocalDate createTime;
    //修改者主键id
    private Integer updateUser;
    //商品修改时间
    private LocalDate updateTime;
	public Integer getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsIntro() {
		return goodsIntro;
	}
	public void setGoodsIntro(String goodsIntro) {
		this.goodsIntro = goodsIntro;
	}
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public String getGoodsCoverImg() {
		return goodsCoverImg;
	}
	public void setGoodsCoverImg(String goodsCoverImg) {
		this.goodsCoverImg = goodsCoverImg;
	}
	public String getGoodsCarousel() {
		return goodsCarousel;
	}
	public void setGoodsCarousel(String goodsCarousel) {
		this.goodsCarousel = goodsCarousel;
	}
	public String getGoodsDetailContent() {
		return goodsDetailContent;
	}
	public void setGoodsDetailContent(String goodsDetailContent) {
		this.goodsDetailContent = goodsDetailContent;
	}
	public BigDecimal getOriginalPrice() {
		return originalPrice;
	}
	public void setOriginalPrice(BigDecimal originalPrice) {
		this.originalPrice = originalPrice;
	}
	public BigDecimal getSellingPrice() {
		return sellingPrice;
	}
	public void setSellingPrice(BigDecimal sellingPrice) {
		this.sellingPrice = sellingPrice;
	}
	public Integer getStockNum() {
		return stockNum;
	}
	public void setStockNum(Integer stockNum) {
		this.stockNum = stockNum;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public Integer getGoodsSellStatus() {
		return goodsSellStatus;
	}
	public void setGoodsSellStatus(Integer goodsSellStatus) {
		this.goodsSellStatus = goodsSellStatus;
	}
	public Integer getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}
	public LocalDate getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDate createTime) {
		this.createTime = createTime;
	}
	public Integer getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}
	public LocalDate getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(LocalDate updateTime) {
		this.updateTime = updateTime;
	}
	@Override
	public String toString() {
		return "Goods [goodsId=" + goodsId + ", goodsName=" + goodsName + ", goodsIntro=" + goodsIntro + ", categoryId="
				+ categoryId + ", goodsCoverImg=" + goodsCoverImg + ", goodsCarousel=" + goodsCarousel
				+ ", goodsDetailContent=" + goodsDetailContent + ", originalPrice=" + originalPrice + ", sellingPrice="
				+ sellingPrice + ", stockNum=" + stockNum + ", tag=" + tag + ", goodsSellStatus=" + goodsSellStatus
				+ ", createUser=" + createUser + ", createTime=" + createTime + ", updateUser=" + updateUser
				+ ", updateTime=" + updateTime + "]";
	}
    
}